package com.bgys.common.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 项目欢迎接口
 * @author 悲歌易水
 */
@RestController
@RequestMapping()
public class HelloController {

    @GetMapping("/index")
    @ApiOperation(value = "index", httpMethod = "GET", response = String.class)
    public String index() {
        return "Hello My Project";
    }
}
